The Week View component > FWeekView.getEnabled()

 

FWeekView.getEnabled()

Availability

Flash Player 6.

Usage

myWeekView_wkv.getEnabled ()

Parameters

none

Returns

Returns a Boolean value indicating whether the component is enabled (true) or not (false).

Description

Returns a Boolean value indicating whether the component is enabled (true) or not (false). When the component is not enabled, it will not respond to user interaction. Its visual state will also be grayed-out to indicate its status.

 

Example

The following code disables the component and then traces it state.

myWeekView_wkv.setEnabled( false );
trace( "Enabled: " + myWeekView_wkv.getEnabled( ) ); //traces "Enabled: false"

 

See also

FWeekView.setEnabled()